/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package be.contribute.common.pojo;

import java.io.Serializable;

/**
 *
 * @author debian
 */
public class Room implements Serializable{
    
    int id;
    String name;
    int deviceId;

    public Room() {
    }
    
    public Room(int id, String name, int deviceId) {
        this.id = id;
        this.name = name;
        this.deviceId = deviceId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(int deviceId) {
        this.deviceId = deviceId;
    }
    
    public void print() {
        System.out.println("----------------------------");
        System.out.println("Id: " + id);
        System.out.println("Name: "+name);
        System.out.println("DeviceId: "+deviceId);
    }
    
}
